/*
 * @Author: guandeshen 295570679@qq.com
 * @Date: 2024-08-27 09:57:35
 * @LastEditors: guandeshen 295570679@qq.com
 * @LastEditTime: 2024-08-27 15:59:34
 * @FilePath: /task-admin/src/api/log/index.ts
 * @Description:
 *
 * Copyright (c) 2024 by RSC, All Rights Reserved.
 */
import request from "@/utils/request";
import { LogQuery, LogList } from "./model";

class LogAPI {
  /**
   * 获取分页列表
   *
   * @data data
   */
  static getPage(data: LogQuery) {
    return request<any, PageResult<LogList[]>>({
      url: "/tenant/user/operlog",
      method: "post",
      data: data,
    });
  }
}

export default LogAPI;
